<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <style type="text/css">
        @media print {
            .tit, div#czdiv {display: none !important}
            div#dyqu1,div#dyqu2{display:block}
            body {   }
        }
        @media screen{
            div#dyqu1,div#dyqu2{display:none}
            body {padding:1mm;}
        }
        body {  color: #000}
        table {  width:100%}
        #body_2 tbody td{
            height: 20px;}
        td {border: 0px solid #333; height: 15px}
        td.zhong {text-align: center;width: 25mm;}
        hr { margin: 16mm 0;border-top: 2px dashed #000}
        .footer{
            position: fixed;
            left: 200px;
            right: 0;
            bottom: 0;
            height: 44px;
            line-height: 44px;
            padding: 0 15px;
            background-color: #eee;text-align: center;
        }
    </style>
</head>
<body>
<div id="header_1"  >
    <table border=0 width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse" bordercolor="#000000">
        <caption style="height: 42pt;"><b style="float:left;"><img src="{$logo_img}" /></b></caption>
        <caption><b style="font-size: 7.2mm;">{$head_title}</b></caption>
        <tr>
            <td colspan="8" >
                <div style="text-align: right;padding: 5pt 30pt;" >
                    第<font tdata="PageNO" format="ChineseNum" color="blue">一</font>页</span>，共<font tdata="PageCount" format="ChineseNum" color="blue">一</font></span>页
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="8" style="border-top: 1.5pt solid rgb(128,128,128);padding:1.5pt">
                <font >单位名称：<span>济南恭德陵园</span></font>
            </td>
        </tr>
        <tr>
            <td colspan="8">
                <div style="width: 33.3%;float:left;"><font >地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：<span >济南市柳埠镇柳东村</span></font></div>
                <div style="width: 33.3%;float:left;"><font >电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：<span>0531-82841666</span></font></div>
                <div style="width: 33.3%;float:left;"><font >传&nbsp;&nbsp;真：<span></span></font></div>
            </td>
        </tr>
        <tr>
            <td colspan="8" style="border-bottom: 1pt solid rgb(128,128,128);"><font >网&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：<span>www.sdgdly.com</span></font></td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 33%;float:left;"><font >客户姓名：<SPAN>{$buyer_name|default=''}</SPAN></font> </div>
                <div style="width: 24%;float:left;"><font >证件类型：<SPAN></SPAN></font> </div>
                <div style="width: 43%;float:left;"><font >证件号码：<SPAN></SPAN></font> </div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 100%;float:left;"><font >联系地址：<SPAN></SPAN></font></font> </div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 33%;float:left;"><font >合同编号：<SPAN></SPAN></font> </div>
                <div style="width: 24%;float:left;"><font >墓位编号：<SPAN></SPAN></font> </div>
                <div style="width: 43%;float:left;"><font >具体位置：<SPAN></SPAN></font></div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 33%;float:left;"><font >墓穴规制：<span>{$tomb_regulation}</span></font></div>
                <div style="width: 24%;float:left;"><font >墓穴状态：<span>空闲</SPAN></span></font></div>
                <div style="width: 43%;float:left;"><font >操&nbsp;&nbsp;&nbsp;作：<SPAN id="operate_name">售后-退墓</SPAN></font> </div>
            </td>
        </tr>
        <tr >
            <td colspan="8" style="border-bottom: 1.5pt solid rgb(128,128,128);border-top: 1pt solid rgb(128,128,128);padding: 2pt 0;">
                <font > 退款费用：<span></span></font>
            </td>
        </tr>
        </thead>
    </table>
</div>
<div id="body_2">
    <TABLE border=0 width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse" bordercolor="#000000">
        <thead>
        <TR>
            <td width="6%">序号</td>
            <td width="26%">项目名称</td>
            <td width="8%">数量</td>
            <td width="6%">单位</td>
            <td width="14%">成交价(元)</td>
            <td width="14%">折损率</td>
            <td width="15%">实付金额(元)</td>
            <td width="20%">备注</td>
        </thead>
        <tbody>
        <foreach name="result_list" item="vo">
            <tr>
                <td>{$key+1}</td>
                <td>{$vo['name']}</td>
                <td>{$vo['num']|default=''}</td>
                <td>{$vo['unit']|default=''}</td>
                <td>{$vo['unitprice']|default=''}</td>
                <td>{$vo['free_price']|default='0'}</td>
                <td>{$vo['price']|default=''}</td>
                <td >{$vo['remark']|default=''}</td>
            </tr>
        </foreach>
        {$tr_html}
        </tbody>
    </TABLE>
</div>

<div id="tfoot_3">
    <div style="height: 20pt;border-top:  1pt solid rgb(128,128,128);" align=center>
        <span style="float:left;width: 50%;padding-top: 3pt;" >合计</span>
        <span style="float:left;width: 50%;padding-top: 3pt;">￥<font >{$total_price}元</font></span>
    </div>
    <div style="line-height: 20pt; border-top: 1pt solid rgb(128,128,128);" align=left ><font > 质量保证</font></div>
    <div style="line-height: 20pt;border-top:  1px solid rgb(128,128,128);font-size: 10pt;" align=left><font > 1.购墓6个月以内未使用，购买人提出退墓的，在验看产品后，可全额退还购墓款。</font></div>
    <div style="line-height: 20pt;font-size: 10pt;" align=left><font > 2.购墓超过6个月而不满5年未使用，购买人提出退墓的，在验看产品后，按成交价折损30%后退还购墓款。</font></div>
    <div style="line-height: 20pt;font-size: 10pt;" align=left><font > 3.购买超过5年未使用，购买人提出退墓的，在验看产品后，按成交价折损70%后退还购墓款。</font></div>
    <div style="line-height: 20pt;font-size: 10pt;" align=left><font > 4.退墓款于提出申请通过后的30个工作日内，结算到购买人指定账户。</font></div>
    <div style="line-height: 25pt;border-bottom:  1.5pt solid rgb(128,128,128);" align=center>
        <div style="line-height: 25pt;width: 25%;float:left;"><font >经办人：<span>{$handle_name}</span></font></div>
        <div style="line-height: 25pt;width: 25%;float:left;"><font >收款人：<span>{$pay_user}</span></font></div>
        <div style="line-height: 25pt;width: 25%;float:left;"><font >客户签名：<span></span></font></div>
        <div style="line-height: 25pt;width: 25%;float:left;"><font >日期：<span>{$pay_time}</span></font></div>
    </div>
</div>
<div id="dyqu1"></div>
<div id="dyqu2"></div>
<div  id="czdiv">
    <div class="footer" style="left:0; text-align: center;padding:5px">
        <button class="layui-btn" type="button" id="btn-dy" style="width:120px">打印通知单</button>
    </div>
</div>
<div class="jb"></div>
<script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script>
<script>
    $("#btn-dy").on('click', function () {
        window.print("ht", false);
    });
</script>
</body></html>